package com.leha.utils;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * Created by xiabin on 2017/8/10.
 */
public class PasswordUtils {
    public static String encodePassword(String username, String password) {
        return DigestUtils.md5Hex(username + password);
    }
}
